package com.demo.activityservicedemo.demo1

import android.app.Service
import android.content.Intent
import android.os.IBinder

/**
 * Created by zhangyuncai on 2024/6/26.
 */
class Demo1Service : Service() {

    val stub = object : IDemo1AidlInterface.Stub() {
        override fun demo1(): String {
            return "testDemo1"
        }

    }

    override fun onBind(intent: Intent?): IBinder? {
        return stub
    }

    override fun onCreate() {
        super.onCreate()
    }
}